import {request} from '@/utils/request'

export function getCaptcha() {
    return request({
        url: '/api/fizz-manager/blade-auth/oauth/captcha',
        method: 'get',
    })
}

export function login(headers,params) {
    return request({
        url: '/api/fizz-manager/blade-auth/oauth/token',
        method: 'post',
        headers,
        params
    })
}
export function getAuthMenu() {
    return request({
        url: '/api/fizz-manager/blade-system/menu/routes',
        method: 'get',
    })
}
